diff options
Diffstat (limited to 'src/pages/[locale]/furthsettins.astro')
| -rw-r--r-- | src/pages/[locale]/furthsettins.astro | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/pages/[locale]/furthsettins.astro b/src/pages/[locale]/furthsettins.astro new file mode 100644 index 0000000..7d31430 --- /dev/null +++ b/src/pages/[locale]/furthsettins.astro @@ -0,0 +1,21 @@ +--- +import translate from '$i18n/translate'; +import tPage from '$i18n/translations/pages/furthsettins'; +import Page from '$layouts/Page.astro'; +import localeStaticPaths from '$lib/localeStaticPaths'; +import type Locale from '$types/Locale'; + +export async function getStaticPaths() { + return localeStaticPaths; +} + +const locale = Astro.params.locale as Locale; +const t = translate(locale); +--- + +<Page title={t(tPage, { key: 'title' })}> + <section> + <h1>{t(tPage, { key: 'title' })}</h1> + <p set:html={t(tPage, { key: 'para' })} /> + </section> +</Page> |
